package com.hqq.behaviour.chain;

/**
 * App
 * Created by heqianqian on 2017/6/16.
 */
public class App {

    public static void main(String[] args) {
        OrcKing orcKing = new OrcKing();

        orcKing.markRequest(new Request("Collect Tax", RequestType.COLLECT_TAX));
        orcKing.markRequest(new Request("Defend Castle", RequestType.DEFEND_CASTLE));
        orcKing.markRequest(new Request("Torture prisoner", RequestType.TORTURE_PRISONER));
    }
}
